import { inferRuntimeType } from "vue/compiler-sfc";

export interface reqAIState {
    "model": "deepseek-r1:70b", 
    "prompt": string, 
    "stream": false,          
    "options": {              
      "temperature": 0.7,     
      "max_tokens": 100       
    }
}

export interface aIResponse {
  model: string;
  created_at: string;
  response: string;
  done: boolean;
  done_reason?: string;
  context: number[];
  total_duration: number;
  load_duration: number;
  prompt_eval_count: number;
  prompt_eval_duration: number;
  eval_count: number;
  eval_duration: number;
}

export interface ChatState {
  role: string;
  content:string
}

export interface reqChatState {
  "model": "deepseek-r1:70b",
  "messages": ChatState[],
  "stream": boolean,
}

export interface chatResponse {
  "model": string,
  "created_at": "assistant",
  "message": {
    role: string,
    content: string
  }
}